package com.springboot.application.service.impl;

import com.springboot.application.dao.AreaDao;
import com.springboot.application.entity.AreaEntity;
import com.springboot.application.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/10/31
 * @Description
 */
@Service("areaService")
public class AreaServiceImpl implements AreaService{

    @Resource
    private AreaDao areaDao;

    @Override
    public List<AreaEntity> findAreaInfoList(AreaEntity areaEntity) {
        return areaDao.findAreaInfoByCondition(areaEntity);
    }
}
